<script setup lang="ts">
import son from "./son.vue";

function fatherClick() {
  console.log("father click");
}
</script>

<template>
  <div class="father">
    <son :msg="'word'" type="danger" data-id="123" @click="fatherClick"></son>
  </div>
</template>

<style scoped lang="less"></style>
